<!DOCTYPE html>
<html>
<head>
    <title>use if</title>
</head>
<body>

{% if value <= 100 and value >= 0 %}
value在0到100之间
{% elif value > 100 %}
value大于100
{% else %}
value小于0
{% endif %}
<a href="{% url 'homepage' %}">home</a>
 
</body>
</html>